﻿<Window x:Class="EditCourse"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="EditCourse" Height="360" Width="400">
    <DockPanel>
            <StackPanel Orientation="Horizontal" DockPanel.Dock="Bottom" Height="32" HorizontalAlignment="Center">
                <Button Width="80" Margin="0,0,4,4" Click="OK_Click">OK</Button>
                <Button Width="80" Margin="4,0,0,4" Click="Cancel_Click">Cancel</Button>
            </StackPanel>
            <StackPanel Orientation="Vertical">
            <StackPanel Orientation="Horizontal">
                    <StackPanel Orientation="Vertical">
                        <Label Content="Course name:"
                               Height="28"
                               HorizontalAlignment="Left"
                               VerticalAlignment="Top" />
                        <TextBox Height="24"
                                 HorizontalAlignment="Left"
                                 Name="courseName"
                                 VerticalAlignment="Top"
                                 Width="120" />
                    </StackPanel>
                    <StackPanel Orientation="Vertical">
                        <Label Content="Color:"
                               Height="28"
                               HorizontalAlignment="Left"
                               VerticalAlignment="Top" />
                        <TextBox Height="24"
                                 HorizontalAlignment="Left"
                                 Name="courseColor"
                                 VerticalAlignment="Top"
                                 Width="120" />
                    </StackPanel>
                    <StackPanel Orientation="Vertical">
                        <Label Content="Professor:"
                               Height="28"
                               HorizontalAlignment="Left"
                               VerticalAlignment="Top" />
                        <ComboBox Height="24"
                                 HorizontalAlignment="Left"
                                 Name="courseProfessor"
                                 VerticalAlignment="Top"
                                 Width="120" />
                    </StackPanel>
        </StackPanel> 
            <StackPanel Orientation="Vertical">  
            <Label Content="Course notes:"
               Height="28"
               HorizontalAlignment="Left" Name="Label2" VerticalAlignment="Top" />
                <TextBox Height="200" HorizontalAlignment="Stretch" Name="courseNotes" AcceptsReturn="True" AcceptsTab="True"/>
            </StackPanel>
        </StackPanel>
    </DockPanel>
</Window>
